package com.mxpio.erp.equipment.service.impl;

import com.mxpio.erp.common.equipment.entity.EquipmentCheckTaskTransfer;
import com.mxpio.erp.common.equipment.service.EquipmentCheckTaskTransferService;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.jpa.query.Operator;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 点检任务转单历史
 * @Author: jeecg-boot
 * @Date:   2021-09-23
 * @Version: V1.0
 */
@Service
public class EquipmentCheckTaskTransferServiceImpl extends BaseServiceImpl<EquipmentCheckTaskTransfer> implements EquipmentCheckTaskTransferService {


	@Override
	public List<EquipmentCheckTaskTransfer> selectByMainId(String mainId) {
        Criteria c = Criteria.create().addCriterion("taskId", Operator.EQ, mainId);
        return list(EquipmentCheckTaskTransfer.class,c);
	}
}
